# $Id: PKGBUILD 56895 2011-10-16 06:24:00Z bpiotrowski $
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>

pkgname=ekg
pkgver=1.8rc2
pkgrel=1
pkgdesc="A text-mode Gadu-Gadu client"
arch=('i686' 'x86_64')
url="http://ekg.chmurka.net/"
license=('GPL')
depends=('libjpeg' 'aspell' 'python2' 'giflib' 'libgadu')
source=(http://ekg.chmurka.net/$pkgname-$pkgver.tar.gz)
md5sums=('f697c711da91ddf57c882114539e92fe')

build() {
  cd $srcdir/$pkgname-$pkgver
  sed -i 's#gg%s#ekg%s#' src/ekg.c
  ./configure --prefix=/usr --with-pthread --enable-aspell --with-python
  make
  make DESTDIR=$pkgdir install
  rm -rf $pkgdir/usr/include $pkgdir/usr/lib
}
